package vip.mall.modular.message.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import vip.mall.common.entity.CommonEntity;

import java.util.Date;

/**
 * @author Asus
 * @Date 2025/2/10 15:24
 * @Descripition 消息实体类
 */
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@Data
@NoArgsConstructor
@TableName("sys_message")
@Builder
@Schema(description = "消息实体类")
public class Message extends CommonEntity {
    @Schema(description="用户id")
    private String userId;
    @Schema(description = "商品id")
    private String goodsId;
    @Schema(description = "评论内容")
    private String  content;
    @Schema(description = "评论时间")
    private Integer state;
    @Schema(description = "回复内容")
    private String replyContent;
    @Schema(description = "回复时间")
    private Date replyTime;
}
